Slicing, I/O and the Implicit State

نویسندگان

  • Yoga Sivagurunathan
  • Mark Harman
  • Sebastian Danicic
چکیده

Program slicing consists of deleting statements from a pro gram creating a reduced program a slice that preserves the original program s behaviour for a given set of variables at a chosen point in the program However some aspects of a program s semantics are not captured by a set of variables rendering slicing inapplica ble to their analysis These aspects of the program s state shall collectively be termed the implicit state For ex ample the input list supplied to a program is not denoted by a variable rather it is part of the implicit state It will be shown that this implicitness causes existing slicing algo rithms to produce incorrect slices with respect to input In order to solve the problem the program to be sliced will be transformed into an explicit version in which all aspects of its semantics are captured by variables The approach is also applied to a wider class of problems in which slicing is inhibited by the lack of variables upon which to form a suitable slicing criterion Because the approach can be expressed as a source level transformation it has the attractive property that the slic ing algorithm need not be altered

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Slicing , I / O and the Implicit

Program slicing consists of deleting statements from a program , creating a reduced program, a slice, that preserves the original program's behaviour for a given set of variables at a chosen point in the program. However, some aspects of a program's semantics are not captured by a set of variables, rendering slicing inapplica-ble to their analysis. These aspects of the program's state shall, co...

متن کامل

Analyzing the Cohesion and Coupling of State Chart Diagrams using Program Slicing Techniques

w w w . i j c s t . c o m InternatIonal Journal of Computer SCIenCe and teChnology 69 Abstract The State Chart Diagrams are used for analyzing the dynamic behavior of system. The understandably of State Chart Diagrams are important for the effective and clear communication among developers. In this paper we, propose a cohesion and coupling , as Average Cohesiveness of States (ACOS) and Average ...

متن کامل

Using Program Slicing to Simplify Testing

Program slicing is a technique for automatically identifying the statements of a program which a ect a selected subset of its variables. A large program can be divided into a number of smaller programs (its slices), each constructed for di erent variable subsets. The slices are typically simpler than the original program, thereby simplifying the process of testing a property of the program whic...

متن کامل

Optimum Farm Plan for Food Security among Smallholder Farmers in Imo State, Nigeria

The paper determined optimum farm plan for food security among smallholder farmers in Imo State, Nigeria. Data were collected with structured and validated questionnaire from 180 smallholder crops farmers in Imo State. Data were analyzed using descriptive statistics (mean, frequency distribution and percentages), budgetary analysis and linear programming model. Results show that the mean age of...

متن کامل

Self-intersection Free and Topologically Faithful Slicing of Implicit Solid

We present a robust and efficient approach to directly slicing implicit solids. Different from prior slicing techniques that reconstruct contours on the slicing plane by tracing the topology of intersected line segments, which is actually not robust, we generate contours through a topology guaranteed contour extraction on binary images sampled from given solids and a subsequent contour simplifi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997